#include "stdio.h"
#include "fcntl.h"



int main(void)
{
	int fd=0;

	fd = open("/dev/chr_dev", O_RDWR);

	if(fd<0){
		printf("[APP] open error! fd=%d\n",fd);
		return 1;
	}

	int val[4] = {2,3,4,5};

	write(fd, &val, 4);

	return 0;
}

